<div id="middle">
    <h2>
		<?php echo $this->lang->line('news'); ?>

		<span>
			<a href="/"><?php echo $this->lang->line('home'); ?></a> > 
			<a href="/news"><?php echo $this->lang->line('news'); ?></a> >
			<?php echo $current_category[0]->name; ?>
		</span>
    </h2>

    <dl>
		<?php foreach ($categories as $category): ?>
			<dt<?php echo $category->id == $news->category ? ' class="active"' : ''; ?>>
			<a href="/news/index/<?php echo $category->id; ?>">
				<?php echo $category->name; ?>
			</a>
			</dt>
		<?php endforeach; ?>
    </dl>

    <ul>
		<li>
			<div class="title">
				<div class="date">
					<h4><?php echo date('M', strtotime($news->created_at)); ?></h4>
					<h3><?php echo date('d', strtotime($news->created_at)); ?></h3>
				</div>
				<a href="/news/show/<?php echo $news->id; ?>"><?php echo $news->title; ?></a>
			</div>
			<div class="content">
				<img width="650" src="/assets/upload/img/<?php echo $news->cover_name; ?>" alt="<?php echo $news->title; ?>"/>
				<p>
					<?php echo $news->content; ?>
				</p>
			</div>
		</li>
    </ul>

    <div class="clear"></div>
</div>